import http from '../utils/http'

// 新增/修改用户信息
export const reqCreateOrEdit = (data) => {
  return http.post('/wx/user/createOrEdit', data)
}

// 根据id获取用户信息
export const reqGetById = (id) => {
  return http.get(`/wx/user/getById/${id}`)
}